package com.proxy.staticproxy;

import com.proxy.target.Target;

/**
 * @Classname TestStaticProxy
 * @Description TODO
 * @Date 2021/8/24 0:00
 * @Created by 张斌
 */
public class TestStaticProxy {
    public static void main(String[] args) {
        Target target=new StaticTargetImpl();
        target.targetMethod();
        ProxyStaticTarget proxyStaticTarget = new ProxyStaticTarget(target);
        proxyStaticTarget.targetMethod();
    }
}
